import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { Input, Select, Button, Table, Image, Tag, message } from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'

const app = createApp(App)
app.use(Input).use(Select).use(Button).use(Image).use(Tag).use(Table).use(router).mount('#app')
app.provide('$message', message) // 全局注册 message , 组件内应用在index.vue getCurrentInstance
// app.config.globalProperties.$message = message
